﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="GuildDynamicMenu.ascx.cs"
    Inherits="SBACN.WebSite.UC.GuildDynamicMenu" %>
<div id="leftLinkDiv">
    <div id="leftnav">
        <div id="leftnavheader">
            公会动态</div>
        <ul id="leftnavborder">
            <li id="left00020001" class="a" onclick="showLeft('00020001')"><a href="../GuildDynamic/HeadlineNews.aspx?t=00020001">
                要闻导读</a></li>
            <li id="left00020002" onclick="showLeft('00020002')"><a href="../GuildDynamic/WeekReport.aspx?t=00020002">
                周报/月刊</a></li>
            <li id="left00020003" onclick="showLeft('00020003')"><a href="#">月度大事记</a></li>
            <li id="left00020004" onclick="showLeft('00020004')"><a href="../GuildDynamic/MediaReport.aspx?t=00020004">
                媒体报道</a></li>
        </ul>
    </div>
</div>
<script type="text/javascript">
    var $jqy = jQuery.noConflict();
    $jqy(document).ready(function () {
        var t = getQueryString("t");
        var l = getQueryString("l");
        if (t != null && t != '') {
            showLeft(t);
        }
    });
    function showLeft(o) {
        $jqy(".a").removeClass("a");
        $jqy("#left" + o).addClass("a");
    }
    function getQueryString(name) {
        var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
        var r = window.location.search.substr(1).match(reg);
        if (r != null) return unescape(r[2]); return null;
    }
</script>
